import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
//第一次修改
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SomeHandler implements Controller {
    @Override
    public ModelAndView handleRequest(HttpServletRequest Request, HttpServletResponse Response) throws Exception {
        ModelAndView mav=new ModelAndView();
        mav.addObject("massage","Hello SpringMVC!");
        mav.setViewName("/WEB-INF/WelCome.jsp");
        return mav;
    }
}
